﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace SmartCollector.Helpers
{
    public class ThreadHelper
    {
        public static void DoSomethingWithTimeOut(Action action, int timeOut)
        {
            Thread killerThread = null;
            Action wrapperAction = () =>
                {
                    killerThread = Thread.CurrentThread;
                    action();
                };
        }
    }
}
